<?php

	header('Location: /');
	//项目详情页
	get_header();
	$taxonomy = 'case';
	$items_detail=get_the_terms($post->ID,$taxonomy);
	
	
    if(have_posts()):the_post();
    get_sidebar('pagenav'); //调用页面导航
?>

<!-- 相册详情页 -->
<div class="mainContent">
    <p class="main_title">美丽鹏爱·鹏爱真我<br></p>
    <div class="case_item_left">
        <img src="<?php the_field('headimg');?>" alt="" class="headerimg">
        <p class="name"><?php the_field('name');?><br><span><?php the_field('qianming');?></span></p>
    </div>
    <div class="cf"></div>
    <div class="plasticDiary">

        <div class="plastleftimg">
            <img src="<?php the_field('ago_img'); ?>" alt="" class="plast_photo">
        </div>
        <div class="plastrightimg">
            <img src="<?php the_field('after_img'); ?>" alt="" class="plast_photo">
        </div>
        <div class="cf"></div>
        <p class="plast_title"><?php echo strip(get_field('zllc_word')); ?></p>
        <ul>
            <a href="javascript:void(0);" onclick="openZoosUrl();"><li><?php the_field('project_have_done'); ?></li></a>
        </ul>
    </div>
</div>


<?php
foreach(get_field("licheng") as $k => $v){
	?>
	<div class="plast_item">
		<p class="plast_item_title"><?php echo $v['time'] ?></p>
		<div class="plastBox">
			<?php echo ludou_remove_width_height_attribute($v['content']) ?>
		</div>
	</div>
		
<?php	
}
?>

<!-- 底部 -->
<?php
  endif;
  get_footer();
?>